package com.cncf.service;

import com.cncf.entity.Enterprise;

import java.util.List;

/**
* @author zj 
*/
public interface EnterpriseService {

    int addEnterprise(Enterprise enterprise);

    int updateEnterprise(Enterprise enterprise);

    Enterprise getEnterpriseById(String id);

    List<Enterprise> getEnterpriseByName(String name);

    List<Enterprise> getAllEnterprise(Integer page, Integer pageSize);

    List<Enterprise> getAllNewEnterprise(Integer page, Integer pageSize);

    List<Enterprise> getEnterpriseByIdList(List<String> idList);

    int deleteEnterprise(String id);
}